package com.allen.study.test_common.constant;

import lombok.Getter;

/**
 * @ClassName: Constants
 * @Author: AllenSun
 * @Date: 2025/2/21 下午9:28
 */
public class CamundaConstants {

    // bpmn文件路径
    public static String bpmnPath = "bpmn";

    @Getter
    public enum processTypeEnum {

        /**
         * 请假
         */
        APPLY_LEAVE(1,"apply_leave","apply_leave.bpmn","请假申请")

        ;



        private Integer code;
        private String alias;
        private String bpmnName;
        private String desc;


        processTypeEnum(Integer code,String alias,String bpmnName,String desc){
            this.code = code;
            this.alias = alias;
            this.bpmnName = bpmnName;
            this.desc = desc;
        }
    }
}
